package com.huaxiafinance.management.dto.request;

import javax.validation.Valid;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * Created by huangwencheng on 2017/10/31.
 */
public class MallLogisticsDto {

    @Size(min = 1,message = "物流信息最少一个")
    @Valid
    private List<GoodsReceiptDto> goodsReceiptDtoList;

    public List<GoodsReceiptDto> getGoodsReceiptDtoList() {
        return goodsReceiptDtoList;
    }

    public void setGoodsReceiptDtoList(List<GoodsReceiptDto> goodsReceiptDtoList) {
        this.goodsReceiptDtoList = goodsReceiptDtoList;
    }

    @Override
    public String toString() {
        return "MallLogisticsDto{" +
                "goodsReceiptDtoList=" + goodsReceiptDtoList +
                '}';
    }
}
